/**
* @file   FileWriter.h
* @brief  Header file for class FileWriter
* @date   2011-04-12 19:13:30
* @author Yanze Lian
* @email  <yanzel@gmail.com>
*/

#ifndef FileWriter_H
#define FileWriter_H

#include <wmsdk.h>
#include <dshowasf.h>

class FileWriter
{
public:
	FileWriter();
	virtual ~FileWriter();

	HRESULT Init(IGraphBuilder* pGraph, CString fileName);
	void UnInit();

	IBaseFilter* GetPointer();

private:
	IFileSinkFilter* m_pFileSink;
	IBaseFilter* m_pASFWriter;
	IConfigAsfWriter* m_pConfigAsfWriter;

};



#endif //FileWriter_H
